package com.sporch;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @author czy
 * @date 2019/5/30
 * @EnableEurekaClient 通过该注解，项目下所有被@RestController注解的对外服务接口将可通过注册-发布的方式对外提供服务
 */
@SpringBootApplication
@EnableEurekaClient
public class ClientApplication {

	public static void main(String[] args) {
		SpringApplication.run(ClientApplication.class, args);
	}

}

